Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

use bucketName instead of bucketName and bucketInstanceName #35

Merged
merged 3 commits into from
Mar 30, 2021

Conversation

wlan0
Copy link
Contributor

@wlan0 wlan0 commented Mar 26, 2021

The previous design had the two values be different, now that the backend bucket name and the name of the bucket object are the same, it doesn't make sense to have two different field names for the same value. @bswartz

@wlan0 wlan0 requested review from jeffvance and krishchow March 26, 2021 19:35
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 26, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wlan0

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 26, 2021
// +optional
BucketRequestName string `json:"bucketRequestName,omitempty"`
// +optional
BucketName string `json:"bucketName,omitempty"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is for the brownfield usecase

@@ -118,7 +118,7 @@ type BucketRequest struct {

type BucketRequestSpec struct {
// +optional
BucketInstanceName string `json:"bucketInstanceName,omitempty"`
BucketName string `json:"bucketName,omitempty"`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this field is no longer in BR.spec (per latest kep pr). Instead, following api guidance, bucketName is now defined in BR.status.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it

type: string
bucketRequestName:
type: string
serviceAccountName:
type: string
required:
- bucketAccessClassName
- bucketRequestName
Copy link

@jeffvance jeffvance Mar 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. BR-name is still needed in BAR.spec to handle sharing w/in the same namespace. (If I'm understanding this change correctly).
  2. bucketName needs to be in BAR.spec (per latest kep pr).
  3. 1 & 2 are mutually exclusive.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this line, it is only being removed from the REQUIRED list. Since it is either or with bucketName

wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Mar 26, 2021
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Mar 26, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Mar 26, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Mar 26, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
@jeffvance
Copy link

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 26, 2021
@wlan0
Copy link
Contributor Author

wlan0 commented Mar 26, 2021

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 26, 2021
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 30, 2021
@wlan0 wlan0 removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 30, 2021
@jeffvance
Copy link

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 30, 2021
@k8s-ci-robot k8s-ci-robot merged commit 2cdabb1 into kubernetes-retired:master Mar 30, 2021
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Mar 31, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Mar 31, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Mar 31, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Mar 31, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Apr 5, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Apr 5, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Apr 6, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
wlan0 added a commit to wlan0/container-object-storage-interface-provisioner-sidecar that referenced this pull request Apr 6, 2021
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-api/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
shanduur pushed a commit to shanduur/container-object-storage-interface-api that referenced this pull request Jun 6, 2024
 - Requires changes to API from this PR github.com/kubernetes-retired/pull/35
 - Requires changes to API from this PR github.com/kubernetes-retired/container-object-storage-interface-spec/pull/25
BlaineEXE pushed a commit to BlaineEXE/cosi-api that referenced this pull request Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants